package com.example.mongo.Model.dto;

import lombok.Data;
import net.sf.json.JSONObject;


public class ComicItemDto {
    public  String  comic;
    public  String chapter;

    public String getComic() {
        return comic;
    }

    public void setComic(String comic) {
        this.comic = comic;
    }

    public String getChapter() {
        return chapter;
    }

    public void setChapter(String chapter) {
        this.chapter = chapter;
    }

    @Override
    public String toString() {
        JSONObject result = new JSONObject();
        result.put("comic",comic);
        result.put("chapter",chapter);
        return result.toString();
    }
}
